package com.woniuxy.mapper;

import com.woniuxy.entity.Log;
import com.woniuxy.entity.dto.LogDTO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface LogMapper {
    List<LogDTO> queryLog(LogDTO logDTO);

    Log queryByMethodName(@Param("methodName") String methodName);

    Log queryByClassName(@Param("className") String className);

    int add(Log log);

    int update(Log log);

    int batchDelete();
}
